<%-- 
    Document   : transferirDinero
    Created on : 06-nov-2012, 10:44:36
    Author     : Usuario
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>


<logic:notPresent name="usuarioConectado">
<jsp:forward page="login.jsp"/>
</logic:notPresent>

<link href="estilos.css" rel="stylesheet" type="text/css">

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Transferir dinero</title>
    </head>
    <body>
        <h2>Transferir dinero</h2>
        <html:form method="post" action="transferirDinero.do">
            <logic:messagesPresent>
		<html:messages id="error">
			<LI><font color="red"><bean:write name="error"/></font></LI>
		</html:messages>
            </logic:messagesPresent>   
                        <label>Cuenta origen:  </label><html:select name="transferirDineroActionForm" property="idCuentaOrigen">
                <option id="1" value="idCuentaOrigen">1</option>
           </html:select>
            <label>Cuenta destino:  </label><html:text name="transferirDineroActionForm" property="idCuentaDestino"/>
           <label>Monto:  </label><html:text name="transferirDineroActionForm" property="monto"/> <br> <br>
           <html:submit value="Confirmar"/><br><br>
           <br><br>
            <a href="menu.jsp">Volver al Menú Principal</a><br>
        </html:form>
           
    </body>
</html>
